import { createApp } from 'vue'
import App from '@/App.vue'
import { registerDirective } from './directive/index.ts'
import { registerPinia } from './store/index.ts'
import { registerRouter } from './router/index.ts'
import { registerElementPlus } from './plugins/element/index.ts';
import { registerEcharts } from './plugins/echarts/index.ts'


const app = createApp(App)
registerRouter(app)//全局注册路由
registerElementPlus(app)//日期汉化
registerPinia(app) // 全局注册Pinia
registerDirective(app);// 全局注册自定义指令
registerEcharts(app);//全局注册echarts

app.mount('#app');

